package com.app.mapper;

import com.app.pojo.Complaint;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 投诉建议 Mapper 接口
 * </p>
 *
 * @author yoominic
 * @since 2024-07-29
 */
@Mapper
public interface ComplaintMapper extends BaseMapper<Complaint> {
    /**
     * Admin反馈意见列表
     *
     * @param p
     * @param keyword
     * @return
     */
    IPage<Complaint> complaintList(@Param("p") Page p, @Param("keyword") String keyword);
}
